package com.fare.taluo.util;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public final  class SpringUtil {
	   private static ApplicationContext  ctx = new ClassPathXmlApplicationContext("spring/applicationContext.xml");
	    
	    public static Object getBean(String beanName){
	         return ctx.getBean(beanName);
	    }  
}
